package cn.ehanghai.iot.back.domain;

import cn.ehanghai.iot.common.domain.BaseDomain;
import lombok.Data;

import javax.persistence.Table;
import java.util.Date;

/**
 * @Author: xumf
 * @Date: 2019/6/26 16:58
 */
@Table(name = "user_info")
@Data
public class UserInfo extends BaseDomain {

    private String head;

    private String nickName;

    private String openId;

    private String realName;

    private String telphone;

    private String status;

    private Date checkDate;

    private String inviteCode;

    private Integer inviteCount;

    private Long inviteId;

    private Date inviteDate;

    private String sex;
    private String country;
    private String city;
    private String follow;
    private String idNum;
    private String province;

    public UserInfo(String openId, String status,String follow) {
        this.openId = openId;
        this.status = status;
        this.follow= follow;
    }

    public UserInfo() {
    }
}
